package com.passioneffect.display {
	import flash.display.Loader;
	import flash.display.Sprite;
	import flash.events.Event;
	import flash.events.ProgressEvent;	

	/**
	 * @author Passion Effect
	 */
	public class AbstractImageLoader extends Sprite {
		public function AbstractImageLoader() {
			var loader:Loader=new Loader();
			loader.contentLoaderInfo.addEventListener(Event.COMPLETE,completeHandler);
			loader.contentLoaderInfo.addEventListener(Event.INIT,initHandler);
			loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,progressHandler);
			
			loader.contentLoaderInfo.addEventListener(Event.OPEN, openHandler);
			addChild(loader);
		}
		
		private function openHandler(event : Event) : void {
			
		}

		private function progressHandler(event : ProgressEvent) : void {
		}

		private function initHandler(event : Event) : void {
			
		}

		private function completeHandler(event : Event) : void {
			
		}
	}
}
